package com.xquant.pricing.calc.mapper;

import com.xquant.common.core.domain.Underlying;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @Auther: B946
 * @Date: 23/12/2019 10:16
 * @Description:
 */
@Repository
public interface InstrumentMapper {

    List<Map<String, Object>> getInstruments(Map<String, Object> params);

    List<Map<String, Object>> getAllInstrument();

    List<Map<String, Object>> getInstrumentsBySubject(Map<String, Object> params);

    List<Map<String, Object>> getInstruments2(Map<String, Object> params);

    List<Map<String, Object>> getIrs(Map<String, Object> params);

    List<Map<String, Object>> getBondFutures(Map<String, Object> params);

    List<Map<String, Object>> getBondFutureCtds(Map<String, Object> params);

    List<Map<String, Object>> getBonds(Map<String, Object> params);

    List<Map<String, Object>> getCrmws(Map<String, Object> params);

    List<Map<String, Object>> getUnderlyingMap();

    List<Underlying> selectUnderlyingDatas(Map<String, Object> params);

    Integer selectUnderlyingDatasCount(Map<String, Object> params);

    List<Map<String, Object>> getFx(Map<String, Object> params);
}
